using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN ModulesEntityBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:23/09/2010 33:09:56</para>
	/// <para>Class Name: ModulesEntityBase</para>
	/// <para>Description: ClassModulesEntityBase store data of table Modules</para>
	///</summary>

	[DataContract]
	public  class ModulesEntityBase{


		private bool _InternalChangedIsNullModule_ID=true;
		private bool _IsNullModule_ID=true;
		private bool _InternalChangedIsNullModuleName=true;
		private bool _IsNullModuleName=true;
		private bool _InternalChangedIsNullModuleTitle=true;
		private bool _IsNullModuleTitle=true;
		private bool _InternalChangedIsNullIcon=true;
		private bool _IsNullIcon=true;
		private bool _InternalChangedIsNullDescription=true;
		private bool _IsNullDescription=true;
		private bool _InternalChangedIsNullModuleType=true;
		private bool _IsNullModuleType=true;
		private bool _InternalChangedIsNullStatus=true;
		private bool _IsNullStatus=true;
		private bool _InternalChangedIsNullModuleUrl=true;
		private bool _IsNullModuleUrl=true;
		private bool _InternalChangedIsNullModuleIndex=true;
		private bool _IsNullModuleIndex=true;
		private int _Module_ID;
		private string _ModuleName;
		private string _ModuleTitle;
		private string _Icon;
		private string _Description;
		private Byte _ModuleType;
		private Byte _Status;
		private string _ModuleUrl;
		private int _ModuleIndex;
		[DataMember]
		public bool IsNullModule_ID{
			get{return _IsNullModule_ID;}
			set{if(!_InternalChangedIsNullModule_ID)_IsNullModule_ID=value;}
		}
		[DataMember]
		public bool IsNullModuleName{
			get{return _IsNullModuleName;}
			set{if(!_InternalChangedIsNullModuleName)_IsNullModuleName=value;}
		}
		[DataMember]
		public bool IsNullModuleTitle{
			get{return _IsNullModuleTitle;}
			set{if(!_InternalChangedIsNullModuleTitle)_IsNullModuleTitle=value;}
		}
		[DataMember]
		public bool IsNullIcon{
			get{return _IsNullIcon;}
			set{if(!_InternalChangedIsNullIcon)_IsNullIcon=value;}
		}
		[DataMember]
		public bool IsNullDescription{
			get{return _IsNullDescription;}
			set{if(!_InternalChangedIsNullDescription)_IsNullDescription=value;}
		}
		[DataMember]
		public bool IsNullModuleType{
			get{return _IsNullModuleType;}
			set{if(!_InternalChangedIsNullModuleType)_IsNullModuleType=value;}
		}
		[DataMember]
		public bool IsNullStatus{
			get{return _IsNullStatus;}
			set{if(!_InternalChangedIsNullStatus)_IsNullStatus=value;}
		}
		[DataMember]
		public bool IsNullModuleUrl{
			get{return _IsNullModuleUrl;}
			set{if(!_InternalChangedIsNullModuleUrl)_IsNullModuleUrl=value;}
		}
		[DataMember]
		public bool IsNullModuleIndex{
			get{return _IsNullModuleIndex;}
			set{if(!_InternalChangedIsNullModuleIndex)_IsNullModuleIndex=value;}
		}
		[DataMember]
		public int Module_ID{
			get{return _Module_ID;}
			set{
				_Module_ID=value;
				if(_Module_ID!=null){
					_IsNullModule_ID=false;
					_InternalChangedIsNullModule_ID=true;
				}
			}
		}
		[DataMember]
		public string ModuleName{
			get{return _ModuleName;}
			set{
				_ModuleName=value;
				if(_ModuleName!=null){
					_IsNullModuleName=false;
					_InternalChangedIsNullModuleName=true;
				}
			}
		}
		[DataMember]
		public string ModuleTitle{
			get{return _ModuleTitle;}
			set{
				_ModuleTitle=value;
				if(_ModuleTitle!=null){
					_IsNullModuleTitle=false;
					_InternalChangedIsNullModuleTitle=true;
				}
			}
		}
		[DataMember]
		public string Icon{
			get{return _Icon;}
			set{
				_Icon=value;
				if(_Icon!=null){
					_IsNullIcon=false;
					_InternalChangedIsNullIcon=true;
				}
			}
		}
		[DataMember]
		public string Description{
			get{return _Description;}
			set{
				_Description=value;
				if(_Description!=null){
					_IsNullDescription=false;
					_InternalChangedIsNullDescription=true;
				}
			}
		}
		[DataMember]
		public Byte ModuleType{
			get{return _ModuleType;}
			set{
				_ModuleType=value;
				if(_ModuleType!=null){
					_IsNullModuleType=false;
					_InternalChangedIsNullModuleType=true;
				}
			}
		}
		[DataMember]
		public Byte Status{
			get{return _Status;}
			set{
				_Status=value;
				if(_Status!=null){
					_IsNullStatus=false;
					_InternalChangedIsNullStatus=true;
				}
			}
		}
		[DataMember]
		public string ModuleUrl{
			get{return _ModuleUrl;}
			set{
				_ModuleUrl=value;
				if(_ModuleUrl!=null){
					_IsNullModuleUrl=false;
					_InternalChangedIsNullModuleUrl=true;
				}
			}
		}
		[DataMember]
		public int ModuleIndex{
			get{return _ModuleIndex;}
			set{
				_ModuleIndex=value;
				if(_ModuleIndex!=null){
					_IsNullModuleIndex=false;
					_InternalChangedIsNullModuleIndex=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ModulesEntityBase*****************************************/
	/*****************************************************************************************************/
}

